package org.jeecg.modules.ywEndFinishedProductEnter.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.jeecg.modules.ywEndFinishedProductEnter.entity.YwEndFinishedProductEnterDetail;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecgframework.poi.excel.annotation.ExcelCollection;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;

/**
 * @Description: 完成品入库
 * @Author: jeecg-boot
 * @Date: 2024-08-20
 * @Version: V1.0
 */
@Data
@ApiModel(value = "yw_end_finished_product_enter_mainPage对象", description = "完成品入库")
public class YwEndFinishedProductEnterMainPage {

    /**主键*/
    @ApiModelProperty(value = "主键")
    private String id;
    /**入库日期*/
    @Excel(name = "入库日期", width = 15, format = "yyyy-MM-dd")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "入库日期")
    private Date enterDate;
    /**入库状态*/
    @ApiModelProperty(value = "入库状态")
    private String enterStatus;
    /**创建日期*/
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private Date createTime;
    /**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
    /**更新日期*/
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private Date updateTime;
    /**更新人*/
    @ApiModelProperty(value = "更新人")
    private String updateBy;
    /**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private String sysOrgCode;

    @ExcelCollection(name = "完成品入库-详情")
    @ApiModelProperty(value = "完成品入库-详情")
    private List<YwEndFinishedProductEnterDetail> ywEndFinishedProductEnterDetailList;

}
